<?php
/**
 * 碎片加载器 - 管理fragments目录下的文件加载
 * 此文件用于解决碎片文件不能分目录的问题，通过映射机制实现文件组织
 */

// 碎片文件映射表
// 格式: '碎片名称' => '实际文件路径(相对于fragments目录)'
return [
    // 布局相关碎片
    'header' => 'layout/header.php',
    'footer' => 'layout/footer.php',
    'scripts' => 'layout/scripts.php',
    'top-notice' => 'layout/top-notice.php',
    
    // 公共组件碎片
    'hero' => 'common/hero.php',
    'cta' => 'common/cta.php',
    'features' => 'common/features.php',
    'services' => 'common/services.php',
    'testimonials' => 'common/testimonials.php',
    'team' => 'common/team.php',
    'team-card' => 'common/team-card.php',
    'testimonial-card' => 'common/testimonial-card.php',
    'user-menu' => 'common/user-menu.php',
    'pagination' => 'common/pagination.php',
    'contact-info' => 'common/contact-info.php',
    'content-list' => 'components/content-list.php',
    'container' => 'common/container.php',
    
    // 博客相关组件
    'blog-categories' => 'components/blog-categories.php',
    'blog-featured' => 'components/blog-featured.php',
    'blog-latest' => 'components/blog-latest.php',
    'blog-about' => 'components/blog-about.php',
    'blog-tags' => 'components/blog-tags.php',
    'blog-popular' => 'components/blog-popular.php',
    
    // 表单相关碎片
    'contact-form' => 'forms/contact-form.php',
    'feedback-form' => 'forms/feedback-form.php',
    'search' => 'forms/search.php',
    'subscribe' => 'forms/subscribe.php',
    
    // 内容展示碎片
    'case-studies' => 'content/case-studies.php',
    'case-card' => 'content/case-card.php',
    'case-info' => 'content/case-info.php',
    'company-history' => 'content/company-history.php',
    'history-milestone' => 'content/history-milestone.php',
    'relation-article' => 'content/relation-article.php',
    'comment' => 'content/comment.php',
    'helper' => 'content/helper.php',
    'faq' => 'content/faq.php',
    'privacy' => 'content/privacy.php',
    'terms' => 'content/terms.php',
    
    // 服务相关碎片
    'web-development' => 'services/web-development.php',
    'mobile-development' => 'services/mobile-development.php',
    'digital-marketing' => 'services/digital-marketing.php',
    'ui-ux-design' => 'services/ui-ux-design.php',
    'consulting' => 'services/consulting.php',
    'dev-services' => 'services/dev-services.php',
    'dev-tech' => 'services/dev-tech.php',
    'dev-process' => 'services/dev-process.php',
    'dev-pricing' => 'services/dev-pricing.php',
    'pricing' => 'services/pricing.php',
    
];